package com.bolehui.base.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName EducationLevelTypeEnum
 * @Description
 * @createTime 2024/12/16 17:17
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
public enum EducationLevelTypeEnum {
    Polytechnic(0, "中专/中技"),
    High_school(1, "高中"),
    College(2, "大专"),
    Undergraduate(3, "本科"),
    Master(4, "硕士"),
    Doctor(5, "博士");

    // 枚举成员变量
    @Getter
    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    // 私有构造函数，初始化枚举成员变量
    EducationLevelTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
